module.exports = {
    env: {
      browser: true,
      es2020: true,
      node: true,
    },
    extends: [
      'eslint:recommended',
      'plugin:@typescript-eslint/recommended',
      'plugin:import/errors',
      'plugin:import/warnings',
      'plugin:import/typescript',
      'plugin:prettier/recommended',
    ],
    parser: '@typescript-eslint/parser',
    parserOptions: {
      ecmaVersion: 11,
      sourceType: 'module',
    },
    plugins: ['@typescript-eslint', 'import', 'react', 'jsx-a11y'],
    rules: {
      '@typescript-eslint/ban-ts-comment': 1,
      '@typescript-eslint/no-var-requires': 1,
      '@typescript-eslint/no-empty-interface': 0,
      '@typescript-eslint/ban-types': 0,
    },
    settings: {
      'import/resolver': {
        alias: {
          map: [['~', './src']],
          extensions: ['.tsx', '.ts', '.jsx', '.js'],
        },
      },
    },
  };
  